package com.hrm.dao;

import com.hrm.model.HrmApartment;
import com.hrm.model.HrmSalaryPay;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface HrmSalaryPayMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HrmSalaryPay record);

    int insertSelective(HrmSalaryPay record);

    HrmSalaryPay selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HrmSalaryPay record);

    int updateByPrimaryKey(HrmSalaryPay record);

    int deleteByStaffId(Integer id);

    List<HrmApartment> getPageByMap(Map<String, Object> param);

    int getPageNumByMap(Map<String, Object> param);
}